﻿<Window x:Class="TimeToGo.Presentation.Views.OptionsView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Options" Height="300" Width="300" WindowStartupLocation="CenterScreen" ResizeMode="NoResize" ShowInTaskbar="False">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition />
            <ColumnDefinition />
        </Grid.ColumnDefinitions>

        <TextBlock Grid.Row="0" Grid.Column="0">Date format</TextBlock>
        <TextBox Grid.Row="0" Grid.Column="1" Text="{Binding Path=DateFormat}" />

        <Button Grid.Row="1" Grid.Column="0" Command="{Binding Path=OkCommand}" >OK</Button>
        <Button Grid.Row="1" Grid.Column="1" Command="{Binding Path=CancelCommand}">Cancel</Button>
    </Grid>
</Window>
